package nc.itf.bgjs;


/**
 * business service ejb wrapper 
 * Created by EJBGenerator
 * based on velocity technology
 */

public class bgjsEjb_Local extends nc.bs.mw.naming.BeanBase
    implements nc.itf.bgjs.bgjsEjbEjbObject {
   
  public bgjsEjb_Local() {
	super();
  }

  private nc.itf.bgjs.bgjsEjbEjbBean _getBeanObject() throws java.rmi.RemoteException {
    return (nc.itf.bgjs.bgjsEjbEjbBean) getEjb();
  }

  public void deleteVO(java.lang.Object arg0) throws nc.vo.pub.BusinessException{
    beforeCallMethod(nc.itf.bgjs.bgjsEjb_Method_Const_Local.Method_deleteVO$Object_arg0    );
    Exception er = null;
	try{
				_getBeanObject().deleteVO(arg0);			
	}
	catch(Exception e){
		er = e;
	} catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.bgjs.bgjsEjb_Method_Const_Local.Method_deleteVO$Object_arg0, er);    	
	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof nc.vo.pub.BusinessException ){
    		throw (nc.vo.pub.BusinessException)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
 }
  public java.util.ArrayList doUNJieAn(java.util.ArrayList arg0) throws nc.vo.pub.BusinessException{
    beforeCallMethod(nc.itf.bgjs.bgjsEjb_Method_Const_Local.Method_doUNJieAn$ArrayList_arg0    );
    Exception er = null;
	java.util.ArrayList o = null;
	try{
				o = (java.util.ArrayList)_getBeanObject().doUNJieAn(arg0);			
	}
	catch(Exception e){
		er = e;
	} catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);	  
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.bgjs.bgjsEjb_Method_Const_Local.Method_doUNJieAn$ArrayList_arg0, er);
 	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof nc.vo.pub.BusinessException ){
    		throw (nc.vo.pub.BusinessException)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
	return o;
 }
  public java.util.ArrayList doJieAn(java.util.ArrayList arg0) throws nc.vo.pub.BusinessException{
    beforeCallMethod(nc.itf.bgjs.bgjsEjb_Method_Const_Local.Method_doJieAn$ArrayList_arg0    );
    Exception er = null;
	java.util.ArrayList o = null;
	try{
				o = (java.util.ArrayList)_getBeanObject().doJieAn(arg0);			
	}
	catch(Exception e){
		er = e;
	} catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);	  
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.bgjs.bgjsEjb_Method_Const_Local.Method_doJieAn$ArrayList_arg0, er);
 	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof nc.vo.pub.BusinessException ){
    		throw (nc.vo.pub.BusinessException)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
	return o;
 }
  public void insertVOsArr(java.lang.Object[] arg0) throws nc.vo.pub.BusinessException{
    beforeCallMethod(nc.itf.bgjs.bgjsEjb_Method_Const_Local.Method_insertVOsArr$ObjectS_arg0    );
    Exception er = null;
	try{
				_getBeanObject().insertVOsArr(arg0);			
	}
	catch(Exception e){
		er = e;
	} catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.bgjs.bgjsEjb_Method_Const_Local.Method_insertVOsArr$ObjectS_arg0, er);    	
	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof nc.vo.pub.BusinessException ){
    		throw (nc.vo.pub.BusinessException)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
 }
  public void deleteVOsArr(java.lang.Object[] arg0) throws nc.vo.pub.BusinessException{
    beforeCallMethod(nc.itf.bgjs.bgjsEjb_Method_Const_Local.Method_deleteVOsArr$ObjectS_arg0    );
    Exception er = null;
	try{
				_getBeanObject().deleteVOsArr(arg0);			
	}
	catch(Exception e){
		er = e;
	} catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.bgjs.bgjsEjb_Method_Const_Local.Method_deleteVOsArr$ObjectS_arg0, er);    	
	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof nc.vo.pub.BusinessException ){
    		throw (nc.vo.pub.BusinessException)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
 }
  public java.util.ArrayList getJieAnData(java.util.HashMap arg0) throws nc.vo.pub.BusinessException{
    beforeCallMethod(nc.itf.bgjs.bgjsEjb_Method_Const_Local.Method_getJieAnData$HashMap_arg0    );
    Exception er = null;
	java.util.ArrayList o = null;
	try{
				o = (java.util.ArrayList)_getBeanObject().getJieAnData(arg0);			
	}
	catch(Exception e){
		er = e;
	} catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);	  
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.bgjs.bgjsEjb_Method_Const_Local.Method_getJieAnData$HashMap_arg0, er);
 	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof nc.vo.pub.BusinessException ){
    		throw (nc.vo.pub.BusinessException)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
	return o;
 }
  public java.lang.Object getObjValue(java.lang.Object arg0) throws nc.vo.pub.BusinessException{
    beforeCallMethod(nc.itf.bgjs.bgjsEjb_Method_Const_Local.Method_getObjValue$Object_arg0    );
    Exception er = null;
	java.lang.Object o = null;
	try{
				o = (java.lang.Object)_getBeanObject().getObjValue(arg0);			
	}
	catch(Exception e){
		er = e;
	} catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);	  
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.bgjs.bgjsEjb_Method_Const_Local.Method_getObjValue$Object_arg0, er);
 	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof nc.vo.pub.BusinessException ){
    		throw (nc.vo.pub.BusinessException)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
	return o;
 }
  public void updateVO(java.lang.Object arg0) throws nc.vo.pub.BusinessException{
    beforeCallMethod(nc.itf.bgjs.bgjsEjb_Method_Const_Local.Method_updateVO$Object_arg0    );
    Exception er = null;
	try{
				_getBeanObject().updateVO(arg0);			
	}
	catch(Exception e){
		er = e;
	} catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.bgjs.bgjsEjb_Method_Const_Local.Method_updateVO$Object_arg0, er);    	
	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof nc.vo.pub.BusinessException ){
    		throw (nc.vo.pub.BusinessException)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
 }
  public void updateVOsArr(java.lang.Object[] arg0) throws nc.vo.pub.BusinessException{
    beforeCallMethod(nc.itf.bgjs.bgjsEjb_Method_Const_Local.Method_updateVOsArr$ObjectS_arg0    );
    Exception er = null;
	try{
				_getBeanObject().updateVOsArr(arg0);			
	}
	catch(Exception e){
		er = e;
	} catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.bgjs.bgjsEjb_Method_Const_Local.Method_updateVOsArr$ObjectS_arg0, er);    	
	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof nc.vo.pub.BusinessException ){
    		throw (nc.vo.pub.BusinessException)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
 }
  public void updateBYsql(java.lang.String arg0) throws nc.vo.pub.BusinessException{
    beforeCallMethod(nc.itf.bgjs.bgjsEjb_Method_Const_Local.Method_updateBYsql$String_arg0    );
    Exception er = null;
	try{
				_getBeanObject().updateBYsql(arg0);			
	}
	catch(Exception e){
		er = e;
	} catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.bgjs.bgjsEjb_Method_Const_Local.Method_updateBYsql$String_arg0, er);    	
	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof nc.vo.pub.BusinessException ){
    		throw (nc.vo.pub.BusinessException)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
 }
  public java.util.ArrayList getVOsfromSql(java.lang.String arg0 ,java.lang.String arg1 ) throws nc.vo.pub.BusinessException{
    beforeCallMethod(nc.itf.bgjs.bgjsEjb_Method_Const_Local.Method_getVOsfromSql$String_arg0$String_arg1    );
    Exception er = null;
	java.util.ArrayList o = null;
	try{
				o = (java.util.ArrayList)_getBeanObject().getVOsfromSql(arg0 ,arg1 );			
	}
	catch(Exception e){
		er = e;
	} catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);	  
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.bgjs.bgjsEjb_Method_Const_Local.Method_getVOsfromSql$String_arg0$String_arg1, er);
 	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof nc.vo.pub.BusinessException ){
    		throw (nc.vo.pub.BusinessException)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
	return o;
 }
  public java.lang.String insertVObackPK(java.lang.Object arg0) throws nc.vo.pub.BusinessException{
    beforeCallMethod(nc.itf.bgjs.bgjsEjb_Method_Const_Local.Method_insertVObackPK$Object_arg0    );
    Exception er = null;
	java.lang.String o = null;
	try{
				o = (java.lang.String)_getBeanObject().insertVObackPK(arg0);			
	}
	catch(Exception e){
		er = e;
	} catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);	  
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.bgjs.bgjsEjb_Method_Const_Local.Method_insertVObackPK$Object_arg0, er);
 	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof nc.vo.pub.BusinessException ){
    		throw (nc.vo.pub.BusinessException)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
	return o;
 }
  public void insertVOsWithPK(java.lang.Object[] arg0) throws nc.vo.pub.BusinessException{
    beforeCallMethod(nc.itf.bgjs.bgjsEjb_Method_Const_Local.Method_insertVOsWithPK$ObjectS_arg0    );
    Exception er = null;
	try{
				_getBeanObject().insertVOsWithPK(arg0);			
	}
	catch(Exception e){
		er = e;
	} catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.bgjs.bgjsEjb_Method_Const_Local.Method_insertVOsWithPK$ObjectS_arg0, er);    	
	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof nc.vo.pub.BusinessException ){
    		throw (nc.vo.pub.BusinessException)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
 }
}